<template>
	<view>
		<!-- #ifdef MP-WEIXIN||APP-PLUS -->
		<view class="w100p h40 disflex jsbet align-cen">
			<u-icon v-if="backStatus==true" color="#fff" name="arrow-left" @click="back" class="posab ml10"></u-icon>
			<view></view>
			<view class="cfff">{{title}}</view>
			<view class="cfff mr10" @click="rightClick">{{rightValue}}</view>
		</view>
		<!-- #endif -->
		
	</view>
</template>

<script>
	export default {
		props: {
			backStatus: {
				type: Boolean,
				default: true
			},
			title: {
				type: String,
				default: ""
			},
			rightValue: {
				type: String,
				default: ""
			},
			height: {
				type: String,
				default: "340rpx"
			},
			bgColor: {
				type: String,
				default: "linear-gradient(180deg, #0B87FF 0%, #18B3FF 100%)"
			},
		},
		data() {
			return {
	
			}
		},
		mounted() {
		},
		methods: {
			back() {
				uni.navigateBack()
			},
			rightClick(){
				this.$emit('rightClick')
			}
		}
	}
</script>

<style>
</style>